import hyRequest from '@/service'

// 获取登录图片验证码
export const getVerifyCode = () => {
  return hyRequest.get({
    url: '/getVerifyCode'
  })
}

// 登录
export const requestLogin = (encryptStr: string) => {
  return hyRequest.post({
    url: '/login',
    data: { encryptStr },
    isShowMessage: true
  })
}
